﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using IService.DataDLL;
using IService.Model;

namespace IService.Data.IManager
{
    public interface IProductsDaManager
    {
        DataTable GetProductsListAll(Type infoType);
        DataTable GetProductsListPagin(Type infoType, PagingEntity pe);
        DataTable GetLatestProductsList(Type infoType, int productsnum);
        Products GetProductsById(Products products);
        bool InsertProducts(Products products);
        bool UpdateProducts(Products products);
        bool DeleteProducts(Products products);
        bool DeleteProductsByIds(Type infoType, string Ids);
    }
}
